<?php
namespace api\common\controllers;

use Yii;

/**
 * Site controller
 */
class CourseController extends BaseController
{
    public $modelClass = 'api\common\models\Course';

    public function actions()
    {
        $actions = parent::actions();
        unset(
            $actions['create'], 
            $actions['update'], 
            $actions['delete']
        );
        //$actions['index']['class'] = 'api\action\category\IndexAction';
        return $actions;
    }

}

